<template>
  <div class="search-con-outer">
    <div class="search-con" @click="goSearch">
      <span class="icon">
        <van-icon name="search" />
      </span>
      <span class="taro-text">200000+ 免费模板任你搜索</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "",
  props: [],
  data() {
    return {};
  },
  created() {},
  methods: {
    //跳转登录页面
    goSearch() {
      this.$router.push("/search");
    },
  },
};
</script>

<style lang="less" scoped>
.search-con-outer {
  padding: 10px 0;
  background-color: #fff;
  .search-con {
    margin: 0 12px;
    height: 34px;
    line-height: 34px;
    background-color: #f8f8fb;
    font-size: 13px;
    text-align: center;
    border-radius: 17px;
    .icon {
      display: inline-block;
      margin-right: 10px;
      font-size: 15px;
    }
    .taro-text {
      color: rgba(0, 0, 0, 0.6);
    }
  }
}
</style>